CVE-2021-42341
OpenRC checkpath Out-Of-Bounds Write
Description
checkpath in OpenRC before 0.44.7 uses the direct output of strlen() to allocate strings, which does not account for the '\0' byte at the end of the string. This results in memory corruption. CVE-2021-42341 was introduced in git commit 63db2d99e730547339d1bdd28e8437999c380cae, which was introduced as part of OpenRC 0.44.0 development.
INFO
Published Date :
Oct. 14, 2021, 5:15 a.m.
Last Modified :
Nov. 21, 2024, 6:27 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 2.0 | MEDIUM | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] |
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-42341
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-42341
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-42341
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-42341
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-42341
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://bugs.gentoo.org/816900 Added Reference https://github.com/OpenRC/openrc/commit/63db2d99e730547339d1bdd28e8437999c380cae Added Reference https://github.com/OpenRC/openrc/commit/bb8334104baf4d5a4a442a8647fb9204738f2204 Added Reference https://github.com/OpenRC/openrc/issues/418 Added Reference https://github.com/OpenRC/openrc/issues/459 Added Reference https://github.com/OpenRC/openrc/pull/462 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Oct. 20, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://bugs.gentoo.org/816900 No Types Assigned https://bugs.gentoo.org/816900 Exploit, Patch, Third Party Advisory Changed Reference Type https://github.com/OpenRC/openrc/commit/63db2d99e730547339d1bdd28e8437999c380cae No Types Assigned https://github.com/OpenRC/openrc/commit/63db2d99e730547339d1bdd28e8437999c380cae Patch, Third Party Advisory Changed Reference Type https://github.com/OpenRC/openrc/commit/bb8334104baf4d5a4a442a8647fb9204738f2204 No Types Assigned https://github.com/OpenRC/openrc/commit/bb8334104baf4d5a4a442a8647fb9204738f2204 Patch, Third Party Advisory Changed Reference Type https://github.com/OpenRC/openrc/issues/418 No Types Assigned https://github.com/OpenRC/openrc/issues/418 Exploit, Patch, Third Party Advisory Changed Reference Type https://github.com/OpenRC/openrc/issues/459 No Types Assigned https://github.com/OpenRC/openrc/issues/459 Exploit, Patch, Third Party Advisory Changed Reference Type https://github.com/OpenRC/openrc/pull/462 No Types Assigned https://github.com/OpenRC/openrc/pull/462 Patch, Third Party Advisory Added CWE NIST NVD-CWE-Other Added CPE Configuration OR *cpe:2.3:a:openrc_project:openrc:*:*:*:*:*:*:*:* versions from (including) 0.44.0 up to (excluding) 0.44.7 -
CVE Modified by [email protected]
Oct. 14, 2021
Action Type Old Value New Value Changed Description checkpath in OpenRC before 0.44.7 uses the direct output of strlen() to allocate strings, which does not account for the '\0' byte at the end of the string. This results in memory corruption. checkpath in OpenRC before 0.44.7 uses the direct output of strlen() to allocate strings, which does not account for the '\0' byte at the end of the string. This results in memory corruption. CVE-2021-42341 was introduced in git commit 63db2d99e730547339d1bdd28e8437999c380cae, which was introduced as part of OpenRC 0.44.0 development. Added Reference https://github.com/OpenRC/openrc/commit/63db2d99e730547339d1bdd28e8437999c380cae [No Types Assigned] Added Reference https://github.com/OpenRC/openrc/issues/418 [No Types Assigned]
Vulnerability Scoring Details
Base CVSS Score: 7.5
Base CVSS Score: 5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.55 }} 0.08%
score
0.79787
percentile